<template>
  <div>home{{styleOptions.showTabs}}
    <span>11111</span>
    <el-button type="primary" @click="addI">{{num}}</el-button>
  </div>
</template>
<script setup>
  import { computed, ref } from 'vue'
  import { useStore } from 'vuex';
  const { state } = useStore();
  const num = ref(0)
  const styleOptions = computed(() => state.layout.styleOptions)
  const addI = () => {
    num.value++
  }
</script>
<style scoped>
</style>
